/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package javaex;

/**
 *
 * @author francesco.ferrari
 */
public class IfThenElse {
    static int result = 0;
    static void test(int testval, int target){
        if(testval > target)
        result = +1;
        if(testval < target)
        result = -1;
        else
    result = 0;
    }
    
}
